﻿using Newtonsoft.Json;
using System;

namespace AllInOne.Models
{
    public class CarWeightModel
    {
        /// <summary>
        /// 磅单号
        /// </summary>
        [JsonProperty(PropertyName = "record_id")]
        public string RecordId { get; set; }

        /// <summary>
        /// 皮重时间
        /// </summary>
        [JsonProperty(PropertyName = "tare_time")]
        public DateTime? TareTime { get; set; }

        /// <summary>
        /// 皮重值
        /// </summary>
        [JsonProperty(PropertyName = "tare_value")]
        public decimal? TareValue { get; set; }

        /// <summary>
        /// 毛重时间
        /// </summary>
        [JsonProperty(PropertyName = "gross_time")]
        public DateTime? GrossTime { get; set; }

        /// <summary>
        /// 毛重值
        /// </summary>
        [JsonProperty(PropertyName = "gross_value")]
        public decimal? GrossValue { get; set; }

        /// <summary>
        /// 净重值
        /// </summary>
        [JsonProperty(PropertyName = "net_value")]
        public decimal? NetValue { get; set; }

        /// <summary>
        /// 称重状态 1：未超重  2：超重请复磅  3：人工确认未超重
        /// </summary>
        [JsonProperty(PropertyName = "weight_status")]
        public string WeightStatus { get; set; }
    }
}
